package main

import (
	"fmt"
)

/**
 * Definition for singly-linked list.
 * type ListNode struct {
 *     Val int
 *     Next *ListNode
 * }
 */
type ListNode struct {
	Val  int
	Next *ListNode
}

func addTwoNumbers(l1 *ListNode, l2 *ListNode) *ListNode {
	result := new(ListNode)
	for l2.Next != nil {
		// l2_tmp := l2.Next
	}
	return result
}

func make_list(nums []int) *ListNode {
	result := new(ListNode)
	next := result
	for _, num := range nums {
		fmt.Println(num)
		tmp := new(ListNode)
		tmp.Val = num
		next.Next = tmp
		next = tmp
	}
	return result
}

func main() {
	a := []int{1, 2, 3, 6}
	node_a := make_list(a)
	fmt.Println("node_a", node_a)
	for node_a.Next != nil {
		fmt.Println("---next----", node_a, node_a.Next, node_a.Val)
		node_a = node_a.Next
	}
}
